package eng.model;

public class User {
	
	public static int FAKE_USER = 0;
	public static int REAL_USER = 1;
	
	private int id;
	private int type; // 0: real, 1: fake
	private double productivityRate;
	private double ratingRate;
	private double subscriptionRate;
	private int[] preferences;
		
	public User(int id, int type, double productivityRate, double ratingRate,
			double subscriptionRate, int[] preferences) {
		super();
		this.id = id;
		this.type = type;
		this.productivityRate = productivityRate;
		this.ratingRate = ratingRate;
		this.subscriptionRate = subscriptionRate;
		this.preferences = preferences;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public double getProductivityRate() {
		return productivityRate;
	}
	public void setProductivityRate(double productivityRate) {
		this.productivityRate = productivityRate;
	}
	public double getRatingRate() {
		return ratingRate;
	}
	public void setRatingRate(double ratingRate) {
		this.ratingRate = ratingRate;
	}
	public double getSubscriptionRate() {
		return subscriptionRate;
	}
	public void setSubscriptionRate(double subscriptionRate) {
		this.subscriptionRate = subscriptionRate;
	}
	public int[] getPreferences() {
		return preferences;
	}
	public void setPreferences(int[] preferences) {
		this.preferences = preferences;
	}

}
